Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump Polars version to <1.18 #17632

Open
wants to merge 10 commits into
base: branch-25.02
Choose a base branch
from

Conversation

Matt711
Copy link
Contributor

@Matt711 Matt711 commented Dec 19, 2024

Description

This PR upgrades the Polars version to 1.17. It also xfails some polars tests.

In polars, floor division by 0 returns None whereas we return 255 (max value of uint8)

But we

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@Matt711 Matt711 added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Dec 19, 2024
@Matt711 Matt711 self-assigned this Dec 19, 2024
Copy link

copy-pr-bot bot commented Dec 19, 2024

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@github-actions github-actions bot added Python Affects Python cuDF API. cudf.polars Issues specific to cudf.polars labels Dec 19, 2024
@Matt711
Copy link
Contributor Author

Matt711 commented Dec 19, 2024

/ok to test

@Matt711 Matt711 marked this pull request as ready for review December 19, 2024 23:39
@Matt711 Matt711 requested review from a team as code owners December 19, 2024 23:39
@Matt711 Matt711 changed the title [WIP] Upgrade Polars version to 1.17 Upgrade Polars version to 1.17 Dec 19, 2024
@@ -747,7 +747,7 @@ dependencies:
common:
- output_types: [conda, requirements, pyproject]
packages:
- polars>=1.11,<1.15
- polars>=1.11,<1.17
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we support polars 1.17.1 (the latest release)? with <1.18

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes

conda/environments/all_cuda-118_arch-x86_64.yaml Outdated Show resolved Hide resolved
conda/environments/all_cuda-125_arch-x86_64.yaml Outdated Show resolved Hide resolved
conda/recipes/cudf-polars/meta.yaml Outdated Show resolved Hide resolved
dependencies.yaml Outdated Show resolved Hide resolved
python/cudf_polars/pyproject.toml Outdated Show resolved Hide resolved
@vyasr
Copy link
Contributor

vyasr commented Dec 20, 2024

It looks like we also need an IR version bump.

@Matt711 Matt711 changed the title Upgrade Polars version to 1.17 Upgrade Polars version to 1.18 Dec 20, 2024
@Matt711 Matt711 changed the title Upgrade Polars version to 1.18 Bump Polars version to <1.18 Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cudf.polars Issues specific to cudf.polars improvement Improvement / enhancement to an existing function non-breaking Non-breaking change Python Affects Python cuDF API.
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

4 participants